package com.wicket.okrcalc.integration;

import com.wicket.okrcalc.common.ro.OkrResult;
import com.wicket.okrcalc.integration.dto.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@FeignClient("calc")
public interface FwCalcBusinessAtomClient {
/**
   * D4查询内存业务数据详情(业务原子)
   */
    @PostMapping("/calc/businessAtom/queryCalcMemoryBusinessDataDetailCom")
    public OkrResult<QueryCalcMemoryBusinessDataDetailComRespDto> queryCalcMemoryBusinessDataDetailCom(QueryCalcMemoryBusinessDataDetailComReqDto reqDTO);
/**
   * D4新增内存业务数据(业务原子)
   */
    @PostMapping("/calc/businessAtom/addCalcMemoryDataCom")
    public OkrResult<AddCalcMemoryDataComRespDto> addCalcMemoryDataCom(AddCalcMemoryDataComReqDto reqDTO);
/**
   * D4动态分配数据集最后一条记录值(公共)
   */
    @PostMapping("/calc/businessAtom/analysisDyncAllocateDatasetLastRecordCom")
    public OkrResult<AnalysisDyncAllocateDatasetLastRecordComRespDto> analysisDyncAllocateDatasetLastRecordCom(AnalysisDyncAllocateDatasetLastRecordComReqDto reqDTO);
  //
}
